package com.zqf.designpattern;

import com.zqf.designpattern.strategyPattern.StrategyDo;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class DesignPatternApplication implements CommandLineRunner {
    public static void main(String[] args) {
        SpringApplication.run(DesignPatternApplication.class, args);
    }
    @Override
    public void run(String... args) throws Exception {
        StrategyDo.doit();
    }
}
